package com.ebei.admin.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 字典详情
 */
@Data
@TableName("sys_dict_detail")
public class SysDictDetail extends Model<SysDictDetail> {

    private static final long serialVersionUID = 1L;

    @TableId(value="id", type= IdType.AUTO)
    private Integer detailId;

    @TableField("dict_id")
    private Integer dictId;

    @TableField("detail_name")
    private String detailName;

    @TableField("detail_code")
    private String detailCode;

    @TableField("detail_desc")
    private String detailDesc;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;

    @TableField("del_flag")
    private String delFlag;

    @Override
    protected Serializable pkVal() {
        return null;
    }
}
